﻿<?php
session_start();
if(!$_SESSION['login'] || $_SESSION['login'] != 1){
    header('Location:../mm');
    exit;
}
require ('quanju.php');
$jkm = $_SESSION['jkm'];
$ylwz = '';
$result = $conn->query("SELECT * FROM hg002 WHERE sjh='" . $_SESSION['sjh'] . "'");
if ($result){
    if ($row = mysqli_fetch_array($result)) {
       $ylwz =  $row['ylwz'];
       if($ylwz == '')$ylwz = '    ';
       else if($ylwz == '-1')$ylwz = '';
       $bwlfh = $row['bwlzdfh'];
    }
}
$conn->close();
?>
<!DOCTYPE html>
<html>
  
  <head>
    <title>
      备忘录
    </title>
    <meta charset="utf-8" />
    <meta name="format-detection" content="telephone=no" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-touch-fullscreen" content="yes" />
    <meta http-equiv="Access-Control-Allow-Origin" content="*" />
    <script type="text/javascript" src="js/zDrag.js"></script>
    <script type="text/javascript" src="js/zDialog.js"></script>
    <script type="text/javascript" src="../s/jquery-3.1.1.min.js"></script>
    <script>
    var ylwz = '<?php echo $ylwz; ?>';
    var sjh = '<?php echo $_SESSION['sjh']; ?>';
    </script>
    <script src="js/bwl.js"></script>
    <style>
    .imgbox img{width:300px} 
    .top_daohang{
        position: fixed;
        width: 40%;
        left: 0px;
        top: 0px;
        color:#cc9900;
        padding-left:22px;
        height:50px;
        font-size:17px;
        line-height: 50px;
        font-weight:500;
        background: url(images/bwl_back.png) no-repeat 0px 50%;
        background-size:25px 25px;
        background-position:0px center;
    }
    .top_yonghu{
        position: fixed;
        width: 50px;
        right: 70px;
        top: 0px;
        height:50px;
        line-height: 50px;
        background: url(images/ball.png) no-repeat 0px 50%;
        background-size:40px 40px;
        background-position:0px center;
    }
    .top_fenxiang{
        position: fixed;
        width: 50px;
        right: 0px;
        top: 0px;
        height:50px;
        line-height: 50px;
        background: url(images/bwl_fenxiang.png) no-repeat 0px 50%;
        background-size:30px 30px;
        background-position:0px center;
    }
    .bottom_sc{
        position: fixed;
        width: 50px;
        left: 1%;
        bottom: 0px;
        height:50px;
        line-height: 50px;
        background: url(images/bwl_sc.png) no-repeat 0px 50%;
        background-size:25px 25px;
        background-position:center center;
    }
    .bottom_bj{
        position: fixed;
        width: 35px;
        right: 1%;
        bottom: 0px;
        height:50px;
        line-height: 50px;
        background: url(images/bwl_bj.png) no-repeat 0px 50%;
        background-size:25px 25px;
        background-position:center center;
    }
    .bottom_xj{
        position: fixed;
        width: 50px;
        left:0;
        right:0;
        bottom: 0px;
        margin:auto;
        height:50px;
        line-height: 50px;
        background: url(images/bwl_xj.png) no-repeat 0px 50%;
        background-size:25px 25px;
        background-position:center center;
    }
    .bottom_xd{
        position: fixed;
        width: 50px;
        left:23%;
        bottom: 0px;
        height:50px;
        line-height: 50px;
        background: url(images/bwl_xd.png) no-repeat 0px 50%;
        background-size:25px 25px;
        background-position:center center;
    }
    .bottom_ty{
        position: fixed;
        width: 50px;
        right:22%;
        bottom: 0px;
        height:50px;
        line-height: 50px;
        background: url(images/bwl_ty.png) no-repeat 0px 50%;
        background-size:25px 25px;
        background-position:center center;
    }
    .bottom{
        position: fixed;
        width: 100%;
        left:0px;
        bottom: 0px;
        height:50px;
        line-height: 50px;
        background: url(images/bwl_bg.png);
    }
    .top{
        position: fixed;
        width: 100%;
        left:0px;
        top: 0px;
        height:50px;
        line-height: 50px;
        background: url(images/bwl_bg.png);
    }
    .sr{
        position: fixed;
        width: 100%;
        left:0px;
        top: 50px;
    }
    
    
    </style>
  </head>
  
  <body style="background: url(images/bwl_bg.png);">

  <div class="top"><div class="top_daohang" onclick="window.history.back();">备忘录</div><div id="yonghutubiao" onclick="kaishihuoqu(this);" class="top_yonghu"></div><div onclick="Dialog.alert('对接码：<?php 
  if($jkm % 10 == 9) echo 10 * ($jkm - $jkm % 10 + 10) + 10;
    else echo $jkm + 11;
   ?>');" class="top_fenxiang"></div></div>
  <div class="bottom"><div onclick="qkbwl();" class="bottom_sc"></div><div onclick="daodibu(this);<?php if($bwlfh == 0)echo "msfh();"; ?>" id="bt_xd" class="bottom_xd"></div><div onclick="goToWhere(0);" class="bottom_xj"></div><div id="bt_ty" onclick="xianshiT(this);" class="bottom_ty"></div><div onclick="focuswbsrwz();" class="bottom_bj"></div></div>
    <div style="text-align:center;">
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />

</div>
    <div class="sr"><textarea id="wbsrwz" style="border:0px;background:none;width:100%;font-size:17px;"></textarea></div>
    <div id="huidiao" style="text-align: center;"></div>
    <div id="huidiao_d" style="display: none;"><br /><div id="huidiao2"></div></div><br /><br /><br /><br />
  </body>

</html>